const mongoose = require('mongoose')
const { Schema } = mongoose

const blogSchema = new Schema({
    blog_id: Number,
    title: String,
    content: String,
    html:String,
    time: String,
    user_id:Number,
    view:Number,
})

const Blog = mongoose.model('blog',blogSchema)

module.exports = Blog
